package net.lcheng.sellerCenter.vo;

import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

public class LoginEntity implements Serializable {
	//    @Length(min = 5, max = 20)
//    @Pattern(regexp = "[a-zA-Z]{5,20}", message = "{user.name.illegal}")
  
    @NotEmpty(message = "用户名不能为空")
    private String phoneNum;

	@NotEmpty(message = "密码不能为空")
	private String password;

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
